-- GENERATED SPELL FOR [Jekyll Flandring] --


function spell0_13219(pUnit, Event) --@Cleave,n/a--
pUnit:FullCastSpellOnTarget(19642,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_13219', 629, 1)
end

function spell1_13219(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(19644,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_13219', 596, 1)
end

function Sorts_13219(pUnit, Event)
local choix_sorts_13219 = math.random(0, 1)
if choix_sorts_13219 == 0 then
pUnit:RegisterEvent('spell0_13219', 1, 1)
end
if choix_sorts_13219 == 1 then
pUnit:RegisterEvent('spell1_13219', 1, 1)
end
end

function mob13219_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_13219', math.random(1500, 3000), 1)
end

function mob13219_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13219_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13219_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(13219, 1, 'mob13219_Action')
RegisterUnitEvent(13219, 2, 'mob13219_Leave')
RegisterUnitEvent(13219, 3, 'mob13219_Kill')
RegisterUnitEvent(13219, 4, 'mob13219_Die')
